 
<include file="./Public/header" />
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close"
                        data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    社团活动添加
                </h4>
            </div>
                
                <div class="modal-dialog" role="document">
                   
                     <form method="post"  action="{:U('Index/groupsMemberAdd')}" enctype="multipart/form-data" class="form-horizontal"> 
                      <div class="modal-body"> 
                           
                      <input type="hidden" name="groups_id" value="{$groups_id}"></input>
                            <div class="form-group">
                            <label for="exampleInputEmail1" class="col-md-3 control-label">姓名： </label>
                            <div class="col-md-5">
                            <input type="text" class="form-control" name="realname" >
                            </div>
                            </div>
                            <div class="form-group">
                            <label for="exampleInputPassword1" class="col-md-3 control-label">学号：</label>
                             <div class="col-md-5">
                            <input type="text" class="form-control" name="num"></div>
                            </div>
                            
                           
                          </div>      
           
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                            <button type="submit" class="btn btn-primary">添加</button>
                        </div>
                    </form>
                    </div>
                </div>
            
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->

 <!-- Main window -->
      <div class="main_container" id="users_page">

        <div class="row-fluid">
          <ul class="breadcrumb">
            <li><a href="#">Home</a> <span class="divider">/</span></li>
            <li><a href="#">Pages</a> <span class="divider">/</span></li>
            <li class="active">Users</li>
          </ul>
          <h1 class="heading">
              社团活动
              <a href="groupList" style="margin-left: 780px;">返回</a>
          </h1>
        </div> <!-- /row-fluid -->

       

        <div class="row-fluid" style="margin-top: 30px;">
          <div class="widget widget-padding span12">
            <div class="widget-header">
        
              <div class="widget-buttons">
                  <a href="add" ><i class="icon-plus"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">

            


              <table id="users" class="table table-striped table-bordered dataTable" style="margin-top: 10px">
                    <tr>
                  <th class="col-sm-1">编号</th>
                  <th class="col-sm-1">社团名称</th>
                  <th class="col-sm-1">社长</th>
                  <th class="col-sm-1">标题</th>
                  <th class="col-sm-1">内容</th>
                  <th class="col-sm-1">添加时间</th>
                  <th class="col-sm-1">活动时间</th>

                  <th class="col-sm-1">操作</th>
                   </tr>
                <tbody>
                  <volist name="groups" id="vo" mod="2" empty="暂时没有数据" key="k">
                  <tr>
                  <td>{$k}</td>
                  <td>{$vo.groupname}</div> </td>
                  <td>{$vo.leaders }</td>
                  <td>{$vo.title}</td>
                  <td>{$vo.intros}</td>
                  <td>{$vo.pdate}</td>
                  <td>{$vo.ptime}</td>
                  <td>
                  <div class="btn-group">
                        <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                        操作
                          <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu pull-right">
                          <li><a href="groupModify?id={$vo.mid}"><i class="icon-edit"></i> 修改</a></li>
                          <li><a href="groupsMemberDel?id={$vo.mid}"><i class="icon-trash"></i> 刪除</a></li>
                          
                           
                    </if>
                    </td>
                        </ul>
                      </div>
                    </td>
                  </tr>
                  </volist>   
                </tbody>
                <tfoot>
                  <tr>
                    <td colspan="9" align="center">
                       {$page}
                    </td>
                  </tr>
                </tfoot>
              </table>
             
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->

      </div>
      <!-- /Main window -->
   <include file="./Public/footer" />